home *** CD-ROM | disk | FTP | other *** search
/ Especial Multimedia / Especial Multimedia.iso / Multimed / Dibujo / RENDC102.ZIP / BULB.RI_ / BULB
Text File  |  1996-05-12  |  3KB  |  69 lines

  1. # bulb.rib
  2. # Author: Scott Iverson <jsiverso@midway.uchicago.edu>
  3. # Date: 6/9/95
  4. #
  5.  
  6. Display "bulb.tiff" "file" "rgb"
  7.  
  8. Projection "perspective" "fov" 25
  9. Format 380 380 -1
  10. Rotate 0 0 0 1
  11. Rotate -0.570093918 1 0 0
  12. Rotate 5.71059326 0 1 0
  13. Translate -1 -2 10
  14.  
  15. WorldBegin
  16.   LightSource "ambientlight" 1 "intensity" .4
  17.   LightSource "distantlight" 2 "intensity" .6 "from" [0 0 0] "to" [-.3 -.2 1]
  18.   AttributeBegin
  19.     Rotate -90 1 0 0
  20.  
  21.     ShadingInterpolation "smooth"
  22.  
  23. # base
  24.     Surface "metal"
  25.     Color 0 0 1
  26.     AttributeBegin
  27.       Orientation "rh"
  28.       Disk 0 .18 360
  29.     AttributeEnd
  30.  
  31.     Cylinder .18 0 .1 360
  32.  
  33.     Translate 0 0 .1
  34.  
  35.     Surface "matte"
  36.     Color 1 1 0
  37.     Hyperboloid  .18 0 0  .4 0 .15  360
  38.  
  39.     Translate 0 0 .15
  40.  
  41.     Surface "metal"
  42.     Color 1 .7 0
  43.  
  44.     Translate 0 0 .05
  45.     Torus .4 .05 -90 90 360
  46.     Translate 0 0 0.10
  47.     Torus .4 .05 -90 90 360
  48.     Translate 0 0 0.10
  49.     Torus .4 .05 -90 90 360
  50.     Translate 0 0 0.10
  51.     Torus .4 .05 -90 90 360
  52.     Translate 0 0 0.10
  53.     Torus .4 .05 -90 90 360
  54.     Translate 0 0 0.10
  55.     Translate 0 0 -0.05
  56.  
  57. # the glass part
  58.  
  59.     Surface "plastic" "roughness" .4
  60.  
  61.     Color 1 1 1
  62.  
  63.     PatchMesh "bicubic" 13 "nonperiodic" 7 "nonperiodic" "P" [  0.40 0.00 0 0.40 0.220913867 0 0.220913867 0.40 0 0.00 0.40 0 -0.220913867 0.40 0 -0.40 0.220913867 0 -0.40 0.00 0 -0.40 -0.220913867 0 -0.220913867 -0.40 0 0.00 -0.40 0 0.220913867 -0.40 0 0.40 -0.220913867 0 0.40 0.00 0 0.40 0.00 .9 0.40 0.220913867 .9 0.220913867 0.40 .9 0.00 0.40 .9 -0.220913867 0.40 .9 -0.40 0.220913867 .9 -0.40 0.00 .9 -0.40 -0.220913867 .9 -0.220913867 -0.40 .9 0.00 -0.40 .9 0.220913867 -0.40 .9 0.40 -0.220913867 .9 0.40 0.00 .9 1.0 0.0 1.34771533 1.0 0.552284667 1.34771533 0.552284667 1.0 1.34771533 0.0 1.0 1.34771533 -0.552284667 1.0 1.34771533 -1.0 0.552284667 1.34771533 -1.0 0.0 1.34771533 -1.0 -0.552284667 1.34771533 -0.552284667 -1.0 1.34771533 0.0 -1.0 1.34771533 0.552284667 -1.0 1.34771533 1.0 -0.552284667 1.34771533 1.0 0.0 1.34771533 1.0 0.0 1.9 1.0 0.552284667 1.9 0.552284667 1.0 1.9 0.0 1.0 1.9 -0.552284667 1.0 1.9 -1.0 0.552284667 1.9 -1.0 0.0 1.9 -1.0 -0.552284667 1.9 -0.552284667 -1.0 1.9 0.0 -1.0 1.9 0.552284667 -1.0 1.9 1.0 -0.552284667 1.9 1.0 0.0 1.9 1.0 0.0 2.45228467 1.0 0.552284667 2.45228467 0.552284667 1.0 2.45228467 0.0 1.0 2.45228467 -0.552284667 1.0 2.45228467 -1.0 0.552284667 2.45228467 -1.0 0.0 2.45228467 -1.0 -0.552284667 2.45228467 -0.552284667 -1.0 2.45228467 0.0 -1.0 2.45228467 0.552284667 -1.0 2.45228467 1.0 -0.552284667 2.45228467 1.0 0.0 2.45228467 0.552284667 0 2.9 0.552284667 0.305018353 2.9 0.305018353 0.552284667 2.9 0 0.552284667 2.9 -0.305018353 0.552284667 2.9 -0.552284667 0.305018353 2.9 -0.552284667 0 2.9 -0.552284667 -0.305018353 2.9 -0.305018353 -0.552284667 2.9 0.00000000 -0.552284667 2.9 0.305018353 -0.552284667 2.9 0.552284667 -0.305018353 2.9 0.552284667 0 2.9 0.001 0 2.9 0.0010 0.000552284667 2.9 0.000552284667 0.001 2.9 0 0.0010 2.9 -0.000552284667 0.0010 2.9 -0.0010 0.000552284667 2.9 -0.001 0 2.9 -0.0010 -0.000552284667 2.9 -0.000552284667 -0.0010 2.9 0.0000 -0.0010 2.9 0.000552284667 -0.0010 2.9 0.0010 -0.000552284667 2.9 0.0010 0.0000 2.9 ]
  64.  
  65. AttributeEnd
  66.  
  67. WorldEnd
  68.  
  69.